package com.yindian.cos.easy.security.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 顶级父类异常
 *
 * @author zhangchuanhao
 * @create 2018/11/18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AuthenticationException extends RuntimeException {

    private String message;

    public AuthenticationException(String message) {
        super(message);
        this.message = message;
    }

    public AuthenticationException(String message, Throwable throwable) {
        super(message, throwable);
    }
}
